WPQT\DB\DBMigrateService S

Total Complexity 14
Dependencies 1
Dependents 0
Total lines 225
Lines of code 167
Logical lines of code 47
Comment lines 25
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
addForeignKeys()
S
39 2 91
addForeignKeyIfNotExists()
S
56 3 18
removeForeignKeyIfExists()
S
59 3 15
foreignKeyExists()
S
63 1 12
runMigrations()
S
70 1 7
changeTaskLocationStageIdToNullable()
S
72 1 6
changeCommentAuthorIdToNullable()
S
72 1 6
changeTaskPipelineIdToNullable()
S
72 1 6
dropCommentsIsAdminCommentColumn()
S
72 1 6